package com.zheng.springcloud.common;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Result<T> implements Serializable{
	/**
	 * 状态码
	 */
	private int code = 200;
	/**
	 * 提示信息
	 */
	private String message;
	
	private T data;

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}
}
